import Vue from 'vue'
import Router from 'vue-router'
import Home from './pages/Home.vue'

Vue.use(Router);

export default new Router({
    mode: 'history',
    base: '/suhoo/',
    routes: [
        {
            path: '/',
            name: 'home',
            component: Home
        },
        {
            path: '/index',
            name: 'index',
            component: () => import('./pages/index/index.vue')
        },
        {
            path: '/meeting',
            name: 'meeting',
            component: () => import('./pages/meeting/index.vue')
        },
        {
            path: '/loadApp',
            name: 'loadApp',
            component: () => import('./pages/loadApp/index.vue')
        },
        {
            path: '/evaluate',
            name: 'evaluate',
            component: () => import('./pages/evaluate/index.vue')
        },
        {
            path: '/clipImg',
            name: 'clipImg',
            component: () => import('./pages/clipImg/index.vue')
        },
        {
            path: '/selectType',
            name: 'selectType',
            component: () => import('./pages/selectType/index.vue')
        },
        {
            path: '/bounceScroll',
            name: 'bounceScroll',
            component: () => import('./pages/selectType/bounceScroll.vue')
        },
        {
            path: '/infiniteScroll',
            name: 'infiniteScroll',
            component: () => import('./pages/selectType/infiniteScroll.vue')
        },
        {
            path: '/pullToLoadMore',
            name: 'pullToLoadMore',
            component: () => import('./pages/selectType/pullToLoadMore.vue')
        },
        {
            path: '/pullToRefresh',
            name: 'pullToRefresh',
            component: () => import('./pages/selectType/pullToRefresh.vue')
        },
        {
            path: '/webp',
            name: 'webp',
            component: () => import('./pages/webp/index.vue')
        },
        {
            path: '/test',
            name: 'test',
            component: () => import('./pages/test/index.vue')
        }
    ]
})
